package com.hee.erp.modules.controller;

import com.hee.erp.common.R;
import com.hee.erp.modules.entity.Test;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/modules/test")
@Api(tags = "test")
public class TestController {

    @GetMapping("/getLong")
    @ApiOperation(value = "getLong")
    public R<Test> getLong() {
        Long id = 1531901879820632065l;
        Test test = new Test();
        test.setId(id);
        return R.success(test);
    }
}
